﻿<UserControl x:Class="ROH.Web.Client.Silverlight.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:ROH="clr-namespace:ROH.Web.Client.Silverlight;assembly=DeepZoomContainer"
    Width="800" Height="651" xmlns:basics="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
	<Grid x:Name="LayoutRoot" Background="White">
		<ROH:DeepZoomContainer  Source="../GeneratedImages/dzc_output.xml" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="0,0,0,0" x:Name="dzcTest" Grid.Row="1" Width="800" Height="500"/>
		<basics:TabControl Margin="0,501,0,0" VerticalAlignment="Stretch" Grid.Row="0" SelectedIndex="0" d:LayoutOverrides="VerticalAlignment">
			<basics:TabItem Header="Viewport">
				<Grid>
					<TextBox x:Name="txtZoom" Canvas.Top="330" Canvas.Left="80" MaxLength="20" TabIndex="0" Margin="156,8,9,0" Height="20" VerticalAlignment="Top" Text="0.1" />
					<TextBox x:Name="txtOX" Canvas.Top="380" Canvas.Left="130" MaxLength="20" TabIndex="0" Margin="156,32,9,0" Height="20" VerticalAlignment="Top" Text="0.45" d:LayoutOverrides="VerticalAlignment" />
					<TextBox x:Name="txtOY" Canvas.Top="310" Canvas.Left="170" MaxLength="20" TabIndex="0" Margin="156,56,9,0" Height="20" VerticalAlignment="Top" Text="0.2" />
					<TextBlock Height="20" HorizontalAlignment="Left" Margin="8,8,0,0" VerticalAlignment="Top" Width="144.283" Text="ViewportWidth :" TextWrapping="Wrap" d:LayoutOverrides="Width"/>
					<TextBlock Height="20" HorizontalAlignment="Left" VerticalAlignment="Top" Width="144.283" Text="ViewportOrientation.X :" TextWrapping="Wrap" Margin="8,32,0,0" d:LayoutOverrides="VerticalAlignment, Width"/>
					<TextBlock Height="20" HorizontalAlignment="Left" VerticalAlignment="Top" Width="144.283" Text="ViewportOrientation.Y :" TextWrapping="Wrap" Margin="8,56,0,0" d:LayoutOverrides="Width"/>
				</Grid>
			</basics:TabItem>
			<basics:TabItem Header="ScrollLimit">
				<Grid>
					<TextBox x:Name="txtBoundaryLeft" Canvas.Top="330" Canvas.Left="80" MaxLength="20" TabIndex="0" Margin="157,13,8,0" Height="20" VerticalAlignment="Top" Text="0.0" />
					<TextBox x:Name="txtBoundaryTop" Canvas.Top="380" Canvas.Left="130" MaxLength="20" TabIndex="0" Margin="157,37,8,56" Text="0.06" />
					<TextBox x:Name="txtBoundaryRight" Canvas.Top="410" Canvas.Left="170" MaxLength="20" TabIndex="0" Margin="156,0,8,32" Height="20" VerticalAlignment="Bottom" Text="1.0" />
					<TextBox x:Name="txtBoundaryBottom" Canvas.Top="410" Canvas.Left="170" MaxLength="20" TabIndex="0" Margin="156,0,8,8" Text="0.92" Height="20" VerticalAlignment="Bottom" />
					<TextBlock Margin="8,13,0,0" Width="144.283" Text="ScrollLimit.Left :" TextWrapping="Wrap" Height="20" VerticalAlignment="Top" HorizontalAlignment="Left"/>
					<TextBlock HorizontalAlignment="Left" Margin="8,37,0,56" Width="144.283" Text="ScrollLimit.Top :" TextWrapping="Wrap"/>
					<TextBlock Height="20" HorizontalAlignment="Left" VerticalAlignment="Bottom" Width="144.283" Text="ScrollLimit.Right :" TextWrapping="Wrap" Margin="8,0,0,32"/>
					<TextBlock Height="20" HorizontalAlignment="Left" VerticalAlignment="Bottom" Width="144.283" Text="ScrollLimit.Bottom :" TextWrapping="Wrap" Margin="8,0,0,8"/>
				</Grid>
			</basics:TabItem>
			<basics:TabItem Header="Perference">
				<Grid>
					<CheckBox Height="20" HorizontalAlignment="Left" Margin="8,32,0,0" VerticalAlignment="Top" Width="158" x:Name="chkWheelZoom" IsChecked="True" Content="WheelZoom"/>
					<CheckBox Height="20" Width="158" Content="UseSpring" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="8,8,0,0" x:Name="chkUseSpring" IsChecked="True"/>
					<CheckBox HorizontalAlignment="Left" Margin="8,56,0,37" Width="158" Content="MouseDrag" x:Name="chkMouseDrag" IsChecked="True"/>
					<CheckBox Height="20" Width="158" Content="Layer1Visible" HorizontalAlignment="Left" Margin="8,0,0,13" VerticalAlignment="Bottom" x:Name="chkLayer1Visible" IsChecked="True"/>
					<CheckBox Height="20" Content="ScrollLimit == null" Margin="188,8,42,0" VerticalAlignment="Top" x:Name="chkUseScrollLimit" IsChecked="False"/>
				</Grid>
			</basics:TabItem>
		</basics:TabControl>
	</Grid>
</UserControl>
